package com.cgtong.android.bean;

import java.util.List;
import java.util.ArrayList;
/**
 * Created by Sky.Bing on 2017/10/24.
 */

public class ActivityBean {
    private int id;
    private String title;
    private String img_url;
    private int thumb_id;
    private int hot_total;
    private String content;
    private int type;
    private String max_option;
    private String s_time;
    private String e_time;
    private int activityState;
    private int status;
    private String created_at;
    private String updated_at;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getImg_url() {
        return img_url;
    }

    public void setImg_url(String img_url) {
        this.img_url = img_url;
    }

    public int getThumb_id() {
        return thumb_id;
    }

    public void setThumb_id(int thumb_id) {
        this.thumb_id = thumb_id;
    }

    public int getHot_total() {
        return hot_total;
    }

    public void setHot_total(int hot_total) {
        this.hot_total = hot_total;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getMax_option() {
        return max_option;
    }

    public void setMax_option(String max_option) {
        this.max_option = max_option;
    }

    public String getS_time() {
        return s_time;
    }

    public void setS_time(String s_time) {
        this.s_time = s_time;
    }

    public String getE_time() {
        return e_time;
    }

    public void setE_time(String e_time) {
        this.e_time = e_time;
    }

    public int getActivityState() {
        return activityState;
    }

    public void setActivityState(int activityState) {
        this.activityState = activityState;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getCreated_at() {
        return created_at;
    }

    public void setCreated_at(String created_at) {
        this.created_at = created_at;
    }

    public String getUpdated_at() {
        return updated_at;
    }

    public void setUpdated_at(String updated_at) {
        this.updated_at = updated_at;
    }

    public static List<ActivityBean> parseJsonOfDoubleList(List<List<ActivityBean>> activityBeanLists){
        List<ActivityBean> activityBeanList = new ArrayList<ActivityBean>();
        if(null!=activityBeanLists && activityBeanLists.size()>0){
            for(List<ActivityBean> activityBeans : activityBeanLists){
                if(null!=activityBeans && activityBeans.size()>0){
                    for(ActivityBean activityBean : activityBeans){
                        activityBeanList.add(activityBean);
                    }
                }
            }
        }
        return activityBeanList;
    }
}